import request from '@/util/ajax.js'

export function getUsersByChestAPI(reqData) {
  return request({
    url: '/back_front/chests_users/getUsersByChestService',
    method: 'get',
    params: reqData
  })
}

export function getChestsAndStationsByUserAPI(reqData) {
  return request({
    url: '/back_front/chests_users/getChestsAndStationsByUserService',
    method: 'get',
    params: reqData
  })
}

export function changeUsersByChestAPI(reqData) {
  return request({
    url: '/back_front/chests_users/changeUsersByChestService',
    method: 'post',
    data: reqData
  })
}

export function changeChestsByUserAPI(reqData) {
  return request({
    url: '/back_front/chests_users/changeChestsByUserService',
    method: 'post',
    data: reqData
  })
}
